import request from '@/utils/request'

export const queryTrendApi = (params) => {
  return request({
    url: '/statistics/trend',
    method: 'get',
    params,
  })
}

// Optional: pie stats (not used yet)
export const queryPieApi = (params) => {
  return request({
    url: '/statistics/pie',
    method: 'get',
    params,
  })
}

export const queryMerchantTypepi = () => {
  return request({
    url: '/merchantInfo/list/merchantType',
    method: 'get',
  })
}